# 检查用户登录id
def check_user_login_unique_id_exist(value):
	from app.models.user import UserLogin
	ul = UserLogin.available().filter_by(unique_id=value).first()
	if ul is None:
		return False, "A001"
	else:
		return True, ""
